package syntax_tree;

import visitor.TypeVisitor;
import visitor.Visitor;

public class TDecideClassDecl extends TClassDecl{
	
	public TIdentifier id;
	public TVarDeclStar vd;
	public TMethodDeclStar md;
	
	public TDecideClassDecl(TIdentifier id,TVarDeclStar vd, TMethodDeclStar md){
		this.id = id;
		this.vd = vd;
		this.md = md;
	}
	
	public void accept(Visitor v) {
	    v.visit(this);
	}

	public TType accept(TypeVisitor v) {
	    return v.visit(this);
	}

}
